package com.love.marriage.carouselBannerInfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  展示轮播图表类
 * author:       mybatisPlus
 * createDate: 2024-10-20 10:10:50
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("carousel_banner_info_t")
@Schema(description = "展示轮播图表")
public class CarouselBannerInfo extends BaseEntity<CarouselBannerInfo>{

    @Schema(description = "文件ID，关联存储的轮播图文件", type = "Long", implementation = Long.class)
    @TableField("file_id")
    private Long fileId;

    @Schema(description = "轮播图标题", type = "String", implementation = String.class)
    @TableField("title")
    private String title;

    @Schema(description = "轮播图描述", type = "String", implementation = String.class)
    @TableField("`description`")
    private String description;

    @Schema(description = "跳转链接", type = "String", implementation = String.class)
    @TableField("link_url")
    private String linkUrl;

    @Schema(description = "排序顺序", type = "Integer", implementation = Integer.class)
    @TableField("sort_order")
    private Integer sortOrder;

    @Schema(description = "状态: 0=禁用, 1=启用", type = "Boolean", implementation = Boolean.class)
    @TableField("`status`")
    private Boolean status;

}
